package com.ss.android.wenda.answer.detail2;

import com.bytedance.common.utility.UIUtils;
import com.ss.android.account.c.QZone.a$a;
import com.ss.android.article.browser.R;

final class ac implements a$a {
    private final NewAnswerDetailFragment a;

    ac(NewAnswerDetailFragment arg1) {
        this.a = arg1;

    }

    public final void onComplete() {
    }

    public final void onError(int arg4, String arg5) {
        String v0 = this.a.getString(com.ss.android.article.browser.R.string.toast_qq_share_error);
        if(!android.support.design.a.isTextEmpty(arg5)) {
            v0 = ": " + arg5;
        }

        UIUtils.showImageToast(NewAnswerDetailFragment.f(this.a), R.drawable.close_popup_textpage, v0);
    }

    public final void onCancel() {
    }
}

